-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(external_storage): Cast id to int #49602
Conversation
Do you have the full stacktrace? This will work only because strict typing is off in this file I think, but the real problem is upper in the call stack, these methods should already be receiving an int. |
|
Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22 |
/backport to stable29 |
/backport to stable30 |
/backport to stable28 |
follow up to #49464
Should solve error:
"message": "OCA\\Files_External\\Service\\DBConfigService::getMountById(): Argument #1 ($mountId) must be of type int, string given, called in /var/www/html/nextcloud_test1/apps/files_external/lib/Service/StoragesService.php on line 164 in file '/var/www/html/nextcloud_test1/apps/files_external/lib/Service/DBConfigService.php' line 69"